﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace WooCooTest.DataPortal
{
    [Export(typeof(IUserOp))]
    [ServiceBehavior]
    public class UserOpService:IUserOp
    {
        public void ShowName(string userid)
        {
            Console.Write("进入");
        }

        public string GetName(string userid)
        {
            Console.Write("进入-返回");
            return "Hello World";

        }
    }
}
